/*
 *代码由框架生成,任何更改都可能导致被代码生成器覆盖
 *如果数据库字段发生变化，请在代码生器重新生成此Model
 */
using System;
using System.Collections.Generic;
using System.ComponentModel.DataAnnotations;
using System.ComponentModel.DataAnnotations.Schema;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using Mercury.Entity.SystemModels;

namespace Mercury.Entity.DomainModels
{
    [Entity(TableCnName = "库位信息",TableName = "WarehouseLocation")]
    public partial class WarehouseLocation:BaseEntity
    {
        /// <summary>
       ///主键
       /// </summary>
       [Key]
       [Display(Name ="主键")]
       [MaxLength(50)]
       [Column(TypeName="nvarchar(50)")]
       [Editable(true)]
       [Required(AllowEmptyStrings=false)]
       public string Id { get; set; }

       /// <summary>
       ///通道ID
       /// </summary>
       [Display(Name ="通道ID")]
       [MaxLength(50)]
       [Column(TypeName="nvarchar(50)")]
       [Editable(true)]
       public string StorageChannelId { get; set; }

       /// <summary>
       ///通道编号
       /// </summary>
       [Display(Name ="通道编号")]
       [MaxLength(50)]
       [Column(TypeName="nvarchar(50)")]
       [Editable(true)]
       public string StorageChannelNo { get; set; }

       /// <summary>
       ///库位号
       /// </summary>
       [Display(Name ="库位号")]
       [MaxLength(50)]
       [Column(TypeName="nvarchar(50)")]
       [Editable(true)]
       public string WarehouseLocationNo { get; set; }

       /// <summary>
       ///行
       /// </summary>
       [Display(Name ="行")]
       [Column(TypeName="int")]
       [Editable(true)]
       [Required(AllowEmptyStrings=false)]
       public int TheRow { get; set; }

       /// <summary>
       ///列
       /// </summary>
       [Display(Name ="列")]
       [Column(TypeName="int")]
       [Editable(true)]
       [Required(AllowEmptyStrings=false)]
       public int TheColumn { get; set; }

       /// <summary>
       ///层
       /// </summary>
       [Display(Name ="层")]
       [Column(TypeName="int")]
       [Editable(true)]
       [Required(AllowEmptyStrings=false)]
       public int TheLevel { get; set; }

       /// <summary>
       ///是否占用
       /// </summary>
       [Display(Name ="是否占用")]
       [Column(TypeName="int")]
       [Editable(true)]
       [Required(AllowEmptyStrings=false)]
       public int IsOccupy { get; set; }

       /// <summary>
       ///可放置重量
       /// </summary>
       [Display(Name ="可放置重量")]
       [DisplayFormat(DataFormatString="18,4")]
       [Column(TypeName="decimal")]
       [Editable(true)]
       public decimal? ConfigurationWeight { get; set; }

       /// <summary>
       ///当前箱号
       /// </summary>
       [Display(Name ="当前箱号")]
       [MaxLength(50)]
       [Column(TypeName="nvarchar(50)")]
       [Editable(true)]
       public string CurrentMaterialBox { get; set; }

       /// <summary>
       ///当前物料箱RFID号
       /// </summary>
       [Display(Name ="当前物料箱RFID号")]
       [MaxLength(50)]
       [Column(TypeName="nvarchar(50)")]
       [Editable(true)]
       public string MaterialBoxRFID { get; set; }

       /// <summary>
       ///位置描述
       /// </summary>
       [Display(Name ="位置描述")]
       [MaxLength(200)]
       [Column(TypeName="nvarchar(200)")]
       [Editable(true)]
       public string LocationDescription { get; set; }

       /// <summary>
       ///是否启用
       /// </summary>
       [Display(Name ="是否启用")]
       [Column(TypeName="int")]
       [Editable(true)]
       public int? Enable { get; set; }

       /// <summary>
       ///添加人
       /// </summary>
       [Display(Name ="添加人")]
       [MaxLength(50)]
       [Column(TypeName="nvarchar(50)")]
       [Editable(true)]
       public string CreateUserName { get; set; }

       /// <summary>
       ///添加人ID
       /// </summary>
       [Display(Name ="添加人ID")]
       [MaxLength(50)]
       [Column(TypeName="nvarchar(50)")]
       [Editable(true)]
       public string CreateUserId { get; set; }

       /// <summary>
       ///添加时间
       /// </summary>
       [Display(Name ="添加时间")]
       [Column(TypeName="datetime")]
       [Editable(true)]
       public DateTime? CreateDate { get; set; }

       /// <summary>
       ///修改人
       /// </summary>
       [Display(Name ="修改人")]
       [MaxLength(50)]
       [Column(TypeName="nvarchar(50)")]
       [Editable(true)]
       public string ModifyUserName { get; set; }

       /// <summary>
       ///修改人ID
       /// </summary>
       [Display(Name ="修改人ID")]
       [MaxLength(50)]
       [Column(TypeName="nvarchar(50)")]
       [Editable(true)]
       public string ModifyUserId { get; set; }

       /// <summary>
       ///修改时间
       /// </summary>
       [Display(Name ="修改时间")]
       [Column(TypeName="datetime")]
       [Editable(true)]
       public DateTime? ModifyDate { get; set; }

       /// <summary>
       ///删除标识
       /// </summary>
       [Display(Name ="删除标识")]
       [Column(TypeName="int")]
       [Editable(true)]
       public int? DeletionFlag { get; set; }

       
    }
}